package com.edu.study.base.stuAnswerResultSummary.domain;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.util.Date;
import java.util.List;

@Data
public class AnswerResult {

    /**
     * 题卷id
     */
    @NotNull(message = "题卷id不能为空")
    @ApiModelProperty(value = "题卷id")
    private Long questionPaperId;



    /**
     *答题结果
     */
    @ApiModelProperty(value = "答题结果")
    private List<AnswerResultSummaryEntity> entityList;

    /**
     *答题开始时间
     */
    @ApiModelProperty(value = "答题开始时间")
    private Date startTime;

    /**
     *答题结束时间
     */
    @ApiModelProperty(value = "答题结束时间")
    private Date endTime;

}
